package util.AST.Expression;

import checker.SemanticException;
import checker.Visitor;
import util.AST.Terminal.ID;

public class IdUnaryExpression extends UnaryExpression{
	
	private ID id;
	private String t;
	

	public IdUnaryExpression(ID id) {
		this.id = id;
	}

	public ID getId() {
		return id;
	}
	
	public IdUnaryExpression(String t) {
		this.t = t;
	}

	public String getT() {
		return t;
	}
	@Override
	public Object visit(Visitor v, Object o) throws SemanticException {
		// TODO Auto-generated method stub
		return v.visitIdUnaryExpression(this, o);
	}

	
}
